package com.sun.alen.service;

import com.sun.alen.entity.PageBean;
import com.sun.alen.entity.Student;

import java.util.List;

public interface StudentService {
    boolean add(Student student);

    boolean update(Student student);

    boolean delete(String id);

    PageBean search(String input, String select, Integer currentPage, Integer pageSize);

    List<Student> all();

    Student login(Student student);

    int repass(String phone, String pass, String verify);

    PageBean searchTeacher(String input, String select, Integer teacherId, Integer currentPage, Integer pageSize);

    List<Student> getStudentByMain(String id);

    boolean updatePassword(Student student);

    Student selectById(int studentId);
}
